package org.dromara.book.domain.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.book.domain.SzlyBookInventory;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 图书库存视图对象 szly_book_inventory
 *
 * @author LionLi
 * @date 2024-03-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SzlyBookInventory.class)
public class SzlyBookInventoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 条形码
     */
    @ExcelProperty(value = "条形码")
    private String barCode;

    /**
     * 入库时间
     */
    @ExcelProperty(value = "入库时间")
    private LocalDateTime inTime;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String status;


    /**
     * 馆藏地信息
     */
    private SzlyBaseLocationVo szlyBaseLocationVo;
    /**
     * 馆藏地
     */
    @ExcelProperty(value = "馆藏地")
    private Long locationId;

    /**
     * 批次号
     */
    @ExcelProperty(value = "批次号")
    private Long batchId;

    /**
     * 批次信息
     */
    private SzlyBaseBatchVo szlyBaseBatchVo;

    /**
     * 实洋
     */
    @ExcelProperty(value = "实洋")
    private BigDecimal priceReal;

    /**
     * isbn外键
     */
    @ExcelProperty(value = "isbn外键")
    private Long isbnId;

    /**
     * isbn实体
     */
    private SzlyBaseIsbnVo szlyBaseIsbnVo;

    /**
     * 层架id
     */
    @ExcelProperty(value = "层架id")
    private Long shelfId;

    /**
     * 层架
     */
    private SzlyBaseShelfVo szlyBaseShelfVo;




    /**
     * 来源
     */
    private String sourceType;



}
